Complete Program Synthesis for Linear Arithmetics

نویسنده

  • Mikaël Mayer
چکیده

Program synthesis, or their fragments, is a way to write programs by providing only its meaning, without worrying about the implementation details. It avoids the drawback of writing sequential code, which might be di cult to check, error-prone or tedious. Our contribution is to provide complete program synthesis algorithms with unbounded data types in decidable theories. We present synthesis algorithms for Linear Rational Arithmetic, Linear Integer Arithmetic and Parametrized Linear Integer Arithmetic. Our implementation and the associated Scala compiler plug-in have already been used to implement Boolean Algebra for Presburger Arithmetic synthesis. ◦ ◦ ◦ La synthèse de programmes est une manière d'écrire les programmes en spéci ant uniquement la signi cation du programme, sans se préoccuper des détails d'implémentation. Cela évite le désagrément d'avoir à écrire du code séquentiel, souvent di cile à véri er, fastidieux à écrire et sujet à l'erreur. Notre contribution est d'apporter des algorithmes de synthèse sur des types de données non bornées dans des théories décidables. Nous présentons des algorithmes de synthèse pour l'Arithmétique Linéaire Rationnelle, pour l'Arithmétique Linéaire Entière, et pour l'Arithmétique Linéaire Entière Paramétrisée. L'implémentation de notre synthétiseur et l'extension du compilateur Scala associée ont déjà été utilisées pour implémenter la synthèse de programmes sur la théorie de l'Algèbre Booléenne pour l'Arithmétique de Presburger.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Models for Substructural Arithmetics

This paper explores models for arithmetics in substructural logics. In the existing literature on substructural arithmetic, frame semantics for substructural logics are absent. We will start to fill in the picture in this paper by examining frame semantics for the substructural logics C (linear logic plus distribution), R (relevant logic) and CK (C plus weakening). The eventual goal is to find ...

متن کامل

Fast Neural

This article is focused on implementation of neural networks in hardware. We give an overview of so-called shift-add neural arithmetics, which provides a complete set of functions suitable for fast perceptron and RBF neuron implementation. The functions use linear approximation to reach suucient simplicity. Since the linear approximation produces imprecise results, precision analysis and tests ...

متن کامل

A Note on Priest's Finite Inconsistent Arithmetics

We give a complete characterization of Priest’s Finite Inconsistent Arithmetics observing that his original putative characterization included arithmetics which cannot in fact be realized.

متن کامل

Verifying Mixed Real-Integer Quantifier Elimination

We present a formally verified quantifier elimination procedure for the first order theory over linear mixed real-integer arithmetics in higher-order logic based on a work by Weispfenning. To this end we provide two verified quantifier elimination procedures: for Presburger arithmitics and for linear real arithmetics.

متن کامل

On Reasoning about Finite Sets in Software Model Checking

A number of static checking techniques is based on constructing and refining an abstract reachability tree (ART) and reasoning about Linear Arithmetics. For example, in BLAST, each program statement is represented as a series of assignments of a linear functions to variables, and the procedure of predicate discovery relies on Craig interpolation of linear arithmetics and equality with uninterpr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010